Skip to content

Upgrade Deps#78

Open
HappyPaul55 wants to merge 2 commits intomainfrom
upgrade-deps-2026-07-01
Open

Upgrade Deps#78
HappyPaul55 wants to merge 2 commits intomainfrom
upgrade-deps-2026-07-01

Conversation

@HappyPaul55
Copy link
Contributor

@HappyPaul55 HappyPaul55 commented Jan 7, 2026

This pull request updates several dependencies in the package.json file to their latest minor or patch versions. These upgrades include both production and development dependencies, aiming to keep the project up to date with recent bug fixes, features, and security improvements.

Dependency updates:

  • Upgraded core dependencies such as @deskpro/app-sdk, @deskpro/deskpro-ui, @fortawesome/react-fontawesome, @sentry/react, @sentry/vite-plugin, @tanstack/react-query, formik, and javascript-time-ago to their latest patch or minor versions.
  • Updated additional libraries including react-router-dom, react-time-ago, and styled-components to more recent versions.

Development and type dependency updates:

  • Bumped various @types packages (e.g., @types/lodash, @types/react) to newer versions for improved TypeScript compatibility. [1] [2]
  • Upgraded development tools such as eslint-config-prettier, jest-environment-jsdom, and vite to their latest patch or minor releases.

Summary by Sourcery

Update project dependencies to newer minor and patch versions for runtime and tooling packages.

Build:

  • Upgrade core runtime dependencies (Deskpro SDK/UI, Sentry, React Query, Formik, routing, time-ago, and styled-components) to more recent minor/patch versions in package.json.
  • Refresh type definitions and development tooling (TypeScript types, ESLint config, Jest environment, and Vite) to their latest compatible patch/minor releases and regenerate the lockfile as needed.

@HappyPaul55 HappyPaul55 requested a review from Copilot January 7, 2026 14:15
@sourcery-ai
Copy link

sourcery-ai bot commented Jan 7, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Upgrade runtime and development dependencies to newer minor/patch versions, updating both package.json and pnpm-lock.yaml to keep the app, type definitions, and tooling current.

File-Level Changes

Change Details Files
Refresh core runtime dependencies to newer minor/patch versions.
  • Bump Deskpro SDK/UI libraries to newer 6.x/8.x releases.
  • Update Sentry React integration and Vite plugin to recent 9.x/3.x patch versions.
  • Upgrade React Query, Formik, and javascript-time-ago to their latest compatible 4.x/2.x patches.
  • Increment react-router-dom, react-time-ago, and styled-components to newer minor/patch versions.
package.json
pnpm-lock.yaml
Refresh type definitions and development tooling dependencies.
  • Update @types packages (lodash, react, etc.) to the latest 18.x/4.x compatible releases.
  • Bump eslint-config-prettier, jest-environment-jsdom, and vite to recent 8.x/30.x/6.x minor or patch versions.
  • Regenerate pnpm-lock.yaml to align with the updated devDependency versions.
package.json
pnpm-lock.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location> `package.json:85` </location>
<code_context>
     "eslint-plugin-react-hooks": "^4.6.2",
     "jest": "^29.7.0",
-    "jest-environment-jsdom": "^30.0.5",
+    "jest-environment-jsdom": "^30.2.0",
     "react-resize-observer": "^1.1.1",
     "rollup-plugin-copy": "3.4.0",
</code_context>

<issue_to_address>
**issue (bug_risk):** Align `jest-environment-jsdom` major version with the core Jest version to avoid subtle test environment issues.

`jest` is still on `^29.7.0` while `jest-environment-jsdom` is `^30.2.0`. The environment package usually matches Jest’s major version, and using v30 with Jest v29 can cause subtle test breakage (e.g. different globals or setup behavior). Please either keep `jest-environment-jsdom` on 29.x or upgrade Jest (and related tools like `ts-jest`) in sync.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request upgrades multiple dependencies to their latest minor or patch versions, focusing on keeping the project up-to-date with recent improvements and bug fixes.

Key Changes:

  • Upgraded core UI and SDK packages (@deskpro/app-sdk, @deskpro/deskpro-ui)
  • Updated React ecosystem libraries including query management, routing, and time formatting
  • Bumped development tooling including testing, linting, and build tools

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
package.json Updated 16 dependency versions (both production and development) with minor/patch version bumps
pnpm-lock.yaml Comprehensive lock file update reflecting all dependency changes and their transitive dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"@tanstack/react-query": "^4.40.1",
"formik": "^2.4.6",
"javascript-time-ago": "^2.5.11",
"@fortawesome/react-fontawesome": "^0.2.6",
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The upgraded version of @fortawesome/react-fontawesome (0.2.6) is marked as deprecated in the lock file. According to the deprecation notice, version 0.2.x is no longer supported, and you should update to v3.1.1 or greater unless you are still using FontAwesome 5.

Consider upgrading to the latest stable version (v3.x) to ensure continued support and compatibility with FontAwesome 6.

Suggested change
"@fortawesome/react-fontawesome": "^0.2.6",
"@fortawesome/react-fontawesome": "^3.1.1",

Copilot uses AI. Check for mistakes.
"eslint-plugin-react-hooks": "^4.6.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^30.0.5",
"jest-environment-jsdom": "^30.2.0",
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The upgraded whatwg-encoding@3.1.1 package is deprecated in favor of @exodus/bytes. While this is a transitive dependency (via jsdom), you should monitor this deprecation as it may affect future compatibility if not addressed in upstream packages.

Copilot uses AI. Check for mistakes.
@github-actions
Copy link

github-actions bot commented Jan 7, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants